import java.util.*;
public class Fenzhi03
{
	public static void main(String[] args)
	{
		Scanner reader = new Scanner(System.in);
		int a = reader.nextInt();
		if (a > 0 && a < 10)
		{

			if (a == 1 || a == 2 || a==3 || a==6 || a==7 || a==8)
			{
				System.out.print("Fishing in day "+a);
			}
			else
			{
				System.out.print("Drying in day "+a);

			}
		}
		else if (a >= 10 && a < 100)
		{
			int aa = a % 10;
			if (aa == 1 || aa == 2 || aa==3 || aa==6 || aa==7 || aa==8)
			{
				System.out.print("Fishing in day "+a);
			}
			else
			{
				System.out.print("Drying in day "+a);

			}
		
		}
		else if (a >= 100 && a <= 1000)
		{
			int aaa = a%100;
			if (aaa == 1 || aaa == 2 || aaa==3 || aaa==6 || aaa==7 || aaa==8)
			{
				System.out.print("Fishing in day "+a);
			}
			else
			{
				System.out.print("Drying in day "+a);

			}

		}
	}
}